<template>
  <div>

  </div>
</template>

<script lang="ts" setup>
import { useRoute } from 'vue-router';
import { SET_TOKEN } from '@/utils/user';
//创建路由器对象
let $route = useRoute();

// console.log($route.query);

//持久化存储用户信息
SET_TOKEN(JSON.stringify($route.query));
//次路由组件代码执行:授权成功
let html: any = document.querySelector('html');
html.style.display = 'none';
</script>


<style scoped></style>